package com.ityu.mapper;

import com.ityu.pojo.Expr;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExprMapper {


    void bachAddExpr(List<Expr> exprList);

    void updateExpr(Expr expr);

    void deleteExprs(List<Integer> ids);

    @Delete("delete from emp_expr where emp_id=#{empId}")
    void deleteAll(Integer empId);
}
